//test
// export const getCount = state => {
//     return state.count
// }

const getters = {
    sidebar: state => state.app.sidebar,
    visitedViews: state => state.app.visitedViews,
    id: state => state.user.id,
    name: state => state.user.name,
    introduction: state => state.user.introduction,
    status: state => state.user.status,
    roles: state => state.user.roles,
    menus: state => state.user.menus,
    elements: state => state.user.elements,
    setting: state => state.user.setting,
    permission_routers: state => state.permission.routers,
    addRouters: state => state.permission.addRouters,
    permissionMenus: state => state.user.permissionMenus
  };
  export default getters